package cn.lsnu.modules.login.entity;

import cn.lsnu.common.interfacetools.interfaceentity.BaseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Date;

public class LoginEntity extends BaseEntity<LoginEntity> {

    private String userId;

    private String userCode;

    private String userName;

    private String userPwd;
    //员工出生日
    private Date userBir;
    //员工地址
    private String userAdd;
    //0 表示男  1表示女  2 表示未知
    private Integer userSex;
    //0 表示关闭  1表示开启
    private Integer userStatus;

    private String userTel;

    private String userEmail;


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    public Date getUserBir() {
        return userBir;
    }

    public void setUserBir(Date userBir) {
        this.userBir = userBir;
    }

    public String getUserAdd() {
        return userAdd;
    }

    public void setUserAdd(String userAdd) {
        this.userAdd = userAdd;
    }

    public Integer getUserSex() {
        return userSex;
    }

    public void setUserSex(Integer userSex) {
        this.userSex = userSex;
    }

    public Integer getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(Integer userStatus) {
        this.userStatus = userStatus;
    }

    public String getUserTel() {
        return userTel;
    }

    public void setUserTel(String userTel) {
        this.userTel = userTel;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    @Override
    public String toString() {
        return "LoginEntity{" +
                "userId='" + userId + '\'' +
                ", userCode='" + userCode + '\'' +
                ", userName='" + userName + '\'' +
                ", userPwd='" + userPwd + '\'' +
                ", userBir=" + userBir +
                ", userAdd='" + userAdd + '\'' +
                ", userSex=" + userSex +
                ", userStatus=" + userStatus +
                ", userTel='" + userTel + '\'' +
                ", userEmail='" + userEmail + '\'' +
                "} " + super.toString();
    }
}
